﻿using System.IO;

namespace DevTools.BinDeleter.Components
{
    public class FolderInfo
    {
        public FolderInfo(DirectoryInfo directory)
        {
            Directory = directory;
            ErrorMessage = string.Empty;
        }

        public DirectoryInfo Directory { get; private set; }

        public bool Deleted { get; set; }

        public string ErrorMessage { get; set; }

        public string DirectoryFullName
        {
            get { return Directory.FullName; }
        }
    }
}